package com.cr.admin.business.brand.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotEmpty;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class BrandAddParam {


    //品牌名称
    @NotEmpty(message = "品牌名称不能为空")
    @ApiModelProperty(value = "品牌名称", required = true)
    String name;
    //品牌图片
    @ApiModelProperty(value = "品牌图片", required = true)
    @NotEmpty(message = "品牌图片不能为空")
    String img;
}
